package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.core.support.auth.SysAuth;
import com.weixing.mall.provider.api.model.dto.GoodPrintRpcDto;
import com.weixing.mall.provider.model.domain.GoodsPrint;
import com.weixing.mall.provider.model.dto.GoodsPrintDto;

import java.util.List;

/**
 * <p>
 * 商品模块-商品表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface IGoodsPrintService extends IService<GoodsPrint> {

    public  void codePrint(Long[] ids, SysAuth auth);

    /**
     * 根据GoodsSn查询商品码
     */
    String findCommodityCodeByGoodsSn(String goodsSn);

    void codePrint(List<GoodsPrintDto> goodPrintList,SysAuth auth);

    public void  goodPrint(List<GoodPrintRpcDto> goodPrintRpcDto);

}
